package com.smc.util;

public class BaseUtil {
    public static Boolean isNull(Object object){
        if (object == null) return true;
        if (object instanceof String){
            return "".equals(object)?true:false;
        }
        return false;
    }

    public static Boolean isNotNull(Object object){
        if (object == null) return false;
        if (object instanceof String) {
            return "".equals(object) ? false : true;
        }
        return true;
    }
}
